package cn.eonshine.cuba.lsms.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alan
 * @since 2019-03-26
 */
@TableName("B_PORT")
public class Port extends Model<Port> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;
    @TableField("NAME")
    private String name;
    @TableField("PORT_NATURE")
    private String portNature;
    @TableField("IS_IMPORT")
    private String isImport;
    @TableField("LONGITUDE")
    private Double longitude;
    @TableField("LATITUDE")
    private Double latitude;
    @TableField("ENABLED")
    private String enabled;
    @TableField("MAX_PORT_BEAM")
    private Double maxPortBeam;
    @TableField("MAX_PORT_DEPTH")
    private Double maxPortDepth;
    @TableField("MAX_PORT_LENGTH")
    private Double maxPortLength;
    @TableField("TIDE_PERIOD")
    private String tidePeriod;
    @TableField("NIGHT_WORK")
    private String nightWork;
    @TableField("CREATE_BY")
    private String createBy;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("UPDATE_BY")
    private String updateBy;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARKS")
    private String remarks;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("COUNTRY")
    private String country;
    @TableField("IS_HAVE_WAVE")
    private String isHaveWave;
    @TableField("LIMIT_STRAT_TIME")
    private Long limitStratTime;
    @TableField("LIMIT_END_TIME")
    private Long limitEndTime;
    @TableField("IS_HAVE_NAVIGATOR")
    private String isHaveNavigator;
    @TableField("MOORING_MAX_LENGTH")
    private Double mooringMaxLength;
    @TableField("MOORING_MAX_DRAFT")
    private Double mooringMaxDraft;
    @TableField("MOORING_MAX_COUNT")
    private Double mooringMaxCount;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPortNature() {
        return portNature;
    }

    public void setPortNature(String portNature) {
        this.portNature = portNature;
    }

    public String getIsImport() {
        return isImport;
    }

    public void setIsImport(String isImport) {
        this.isImport = isImport;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    public Double getMaxPortBeam() {
        return maxPortBeam;
    }

    public void setMaxPortBeam(Double maxPortBeam) {
        this.maxPortBeam = maxPortBeam;
    }

    public Double getMaxPortDepth() {
        return maxPortDepth;
    }

    public void setMaxPortDepth(Double maxPortDepth) {
        this.maxPortDepth = maxPortDepth;
    }

    public Double getMaxPortLength() {
        return maxPortLength;
    }

    public void setMaxPortLength(Double maxPortLength) {
        this.maxPortLength = maxPortLength;
    }

    public String getTidePeriod() {
        return tidePeriod;
    }

    public void setTidePeriod(String tidePeriod) {
        this.tidePeriod = tidePeriod;
    }

    public String getNightWork() {
        return nightWork;
    }

    public void setNightWork(String nightWork) {
        this.nightWork = nightWork;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getIsHaveWave() {
        return isHaveWave;
    }

    public void setIsHaveWave(String isHaveWave) {
        this.isHaveWave = isHaveWave;
    }

    public Long getLimitStratTime() {
        return limitStratTime;
    }

    public void setLimitStratTime(Long limitStratTime) {
        this.limitStratTime = limitStratTime;
    }

    public Long getLimitEndTime() {
        return limitEndTime;
    }

    public void setLimitEndTime(Long limitEndTime) {
        this.limitEndTime = limitEndTime;
    }

    public String getIsHaveNavigator() {
        return isHaveNavigator;
    }

    public void setIsHaveNavigator(String isHaveNavigator) {
        this.isHaveNavigator = isHaveNavigator;
    }

    public Double getMooringMaxLength() {
        return mooringMaxLength;
    }

    public void setMooringMaxLength(Double mooringMaxLength) {
        this.mooringMaxLength = mooringMaxLength;
    }

    public Double getMooringMaxDraft() {
        return mooringMaxDraft;
    }

    public void setMooringMaxDraft(Double mooringMaxDraft) {
        this.mooringMaxDraft = mooringMaxDraft;
    }

    public Double getMooringMaxCount() {
        return mooringMaxCount;
    }

    public void setMooringMaxCount(Double mooringMaxCount) {
        this.mooringMaxCount = mooringMaxCount;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Port{" +
        ", id=" + id +
        ", name=" + name +
        ", portNature=" + portNature +
        ", isImport=" + isImport +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", enabled=" + enabled +
        ", maxPortBeam=" + maxPortBeam +
        ", maxPortDepth=" + maxPortDepth +
        ", maxPortLength=" + maxPortLength +
        ", tidePeriod=" + tidePeriod +
        ", nightWork=" + nightWork +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        ", country=" + country +
        ", isHaveWave=" + isHaveWave +
        ", limitStratTime=" + limitStratTime +
        ", limitEndTime=" + limitEndTime +
        ", isHaveNavigator=" + isHaveNavigator +
        ", mooringMaxLength=" + mooringMaxLength +
        ", mooringMaxDraft=" + mooringMaxDraft +
        ", mooringMaxCount=" + mooringMaxCount +
        "}";
    }
}
